<div class="layui-form" lay-filter="layuiadmin-form-admin" style="padding: 20px 30px 0 0;">
  <!--<div class="layui-form-item">
    <label class="layui-form-label">邮箱账号</label>
    <div class="layui-input-inline">
      <script type="text/html" template>
        <input type="email" id="email" name="email"  lay-verify="email" placeholder="请输入邮箱账号" autocomplete="off" class="layui-input">
      </script>
    </div>
  </div>-->

  <div class="layui-form-item">
    <label class="layui-form-label">手机号</label>
    <div class="layui-input-inline">
      <script type="text/html" template>
        <input type="text" id="phone" name="phone"  lay-verify="phone" placeholder="请输入手机号" autocomplete="off" class="layui-input">
      </script>
    </div>
  </div>

  <div class="layui-form-item">
    <label class="layui-form-label">性别</label>
    <div class="layui-input-inline">
      <script type="text/html" template>
        <select name="sex" id="sex">
          <option value="0" {{ d.params.sex === 0 ? 'selected' : '' }}>女</option>
          <option value="1" {{ d.params.sex === 1 ? 'selected' : '' }}>男</option>
          <option value="2" {{ d.params.sex === 2 ? 'selected' : '' }}>未知</option>
        </select>
      </script>
    </div>
  </div>

  <div class="layui-form-item">
    <label class="layui-form-label">用户级别</label>
    <div class="layui-input-inline">
      <script type="text/html" template>
        <select name="level" id="level">
          <option value="0" {{ d.params.level === 0 ? 'selected' : '' }}>普通用户</option>
          <option value="1" {{ d.params.level === 1 ? 'selected' : '' }}>普通会员</option>
          <option value="4" {{ d.params.level === 4 ? 'selected' : '' }}>封禁</option>
        </select>
      </script>
    </div>
  </div>

  <div class="layui-form-item">
    <label class="layui-form-label"></label>
    <div class="layui-input-inline">
      <input type="button" lay-submit lay-filter="LAY-user-back-submit" value="确认" class="layui-btn">
    </div>
  </div>
</div>

<script>
  layui.use(['admin', 'form'], function(){
    var $ = layui.$
            ,form = layui.form;
  });
</script>